
package com.topwalk.ws.multiService;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for peopleInfoData complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="peopleInfoData">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="failInfo" type="{http://service.sync.ws.topwalk.com/}failInfo" minOccurs="0"/>
 *         &lt;element name="peopleInfos" type="{http://service.sync.ws.topwalk.com/}peopleInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="recordCount" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "peopleInfoData", propOrder = {
    "failInfo",
    "peopleInfos",
    "recordCount"
})
public class PeopleInfoData {

    protected FailInfo failInfo;
    @XmlElement(nillable = true)
    protected List<PeopleInfo> peopleInfos;
    protected Integer recordCount;

    /**
     * Gets the value of the failInfo property.
     * 
     * @return
     *     possible object is
     *     {@link FailInfo }
     *     
     */
    public FailInfo getFailInfo() {
        return failInfo;
    }

    /**
     * Sets the value of the failInfo property.
     * 
     * @param value
     *     allowed object is
     *     {@link FailInfo }
     *     
     */
    public void setFailInfo(FailInfo value) {
        this.failInfo = value;
    }

    /**
     * Gets the value of the peopleInfos property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the peopleInfos property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getPeopleInfos().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link PeopleInfo }
     * 
     * 
     */
    public List<PeopleInfo> getPeopleInfos() {
        if (peopleInfos == null) {
            peopleInfos = new ArrayList<PeopleInfo>();
        }
        return this.peopleInfos;
    }

    /**
     * Gets the value of the recordCount property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getRecordCount() {
        return recordCount;
    }

    /**
     * Sets the value of the recordCount property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setRecordCount(Integer value) {
        this.recordCount = value;
    }

}
